<?php

class field_image extends field_base {

  /**
   * render element to html with no format
   */
  public function to_html() {
    $this->_attrs['type'] = 'image';
    return sprintf('<input %s/>', $this->join_attrs());
  }

}